<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        var ti="提醒"
        function loadXMLDoc() {
			var xmlhttp;
			if (window.XMLHttpRequest) {
				//  IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
				xmlhttp = new XMLHttpRequest();
			}
			else {
				// IE6, IE5 浏览器执行代码
				xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
			}
			xmlhttp.onreadystatechange = function () {
				if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
					//					document.getElementById("myDiv").innerHTML = xmlhttp.responseText;
					var json = JSON.parse(xmlhttp.responseText)
//					var json=json.reverse()
					console.log(json.data)
					json.data=json.data.reverse()
					
				}
			}
			xmlhttp.open("POST", 'http://www.globletech.net/Test/DayRangeHasMatter?startime=2020-04-10&endtime=2020-04-11&type=提醒', true);
			xmlhttp.send();
		}
		loadXMLDoc()
    </script>
</body>
</html>